import Vue from 'vue'
import Router from 'vue-router'

// import content from '../components/Content'
// import main from '../components/Main'

import main from '../views/Main'
import form from '../views/Form'

// 显示声明使用VueRouter
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/form',
      name: 'form',
      component: form
    },
    {
      path: '/main',
      name: 'main',
      component: main
    }
  ]
})
